<template>
    <div class="wrap" v-if="isShow">
        <div class="success">
            <div class="content">
                The application has been submitted. Please pay attention to the bill
            </div>
            <div class="btn-box">
                <button class="btn-ui" @click="returnTo">OK</button>
            </div>
        </div>
    </div>
</template>
<script>
export default{
    props:{
        isShow:{
            default:false
        }
    },
    methods:{
        returnTo(){
            this.$emit('confirm')
        }
    }
}
</script>
<style lang="scss" scoped>
.wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3;

  .success {
    width: 650px;
    background: white;
    border-radius: 16px;
    padding: 60px 40px 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .content {
      color: #222222;
      font-size: 32px;
      font-weight: 400;
      line-height: 60px;
      text-align: center;
    }

    .btn-box {
      margin-top: 44px;

      .btn-ui {
        display: block;
        height: 88px;
        line-height: 88px;
        color: #FFFFFF;
        font-size: 36px;
        font-weight: 400;
        width: 100%;
        border-radius: 32px;
        background: linear-gradient(90deg, rgba(90, 246, 237, 1) 0%, rgba(90, 114, 246, 1) 100%);

      }
    }
  }
}
</style>
